package com.tihi.handsuiviewer;

/**
 * 常量定义
 * @author duantihi
 *
 * @date 2016-1-30 下午3:54:50
 */
public class AppDef {
	/** 缓存根目录 */
	public static final String CACHE_ROOT = "/sdcard/handsUiViewer/"; //App.instance().getExternalCacheDir().getAbsolutePath() + "/";
	
	/** 生成的 ui xml 路径 */
	public static String UIDUMP_XML_PATH = CACHE_ROOT + "uidump.xml";
	/** uiautomator 生成uidump文件的命令 */
	public static String UI_DUMP_CMD = "uiautomator dump " + UIDUMP_XML_PATH;
	/** ui dump 成功时输出的字符串 */
	public static String UI_DUMP_OUT = "UI hierchary dumped to";
	
	/** 截屏保存路径 */
	public static String SCREEN_CAP_PATH = CACHE_ROOT + "screenCap.png";
	/** 截屏CMD命令 */
	public static String SCREEN_CAP_CMD = "screencap -p " + SCREEN_CAP_PATH;
	
	public interface YOUMI{
		String APP_ID = "cea5b4e3ac55cb04";
		String APP_SECRET = "854c8cbd2e82abf3";
	}
	
	public interface PreferenceDef{
		String APP_PREFERENCE_TABLE = "appPreferenceTable";
	}
	
}
